home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
CUJ9209.ARJ
/
1009020A
< prev
next >
Wrap
Text File
|
1992-07-08
|
257b
|
21 lines
// LISTING 1
#ifndef JMPSTACK_H
#define JMPSTACK_H
#include <setjmp.h>
class JmpStack {
enum {SIZE=100};
jmp_buf stack[SIZE];
int current;
public:
JmpStack() {current = -1;}
jmp_buf& operator++(); // push
jmp_buf& operator--(); // pop
};
#endif